#ifndef _PACKAGE_H_
#define MAX_PACKAGE_SIZE 128
#define PKGError(string) printf("%s\n", string)
#include "mm.h"

CFPackage * pkg_current;
CFPackage * pkg_keyword;
CFPackage * pkg_std;
char * pkg_name;

#define PKGCurrentPackage pkg_current
#define PKGCurrentPackageName pkg_name
#define PKGSystemPackage pkg_std
#define PKGKeywordPackage pkg_keyword


void PKGInit (void);
CFSymbol * PKGAddSymbol (CFSymbol * object, char * name);
#define PKGSwitchCurrentPackage(thing)\
	pkg_current = thing;\
	pkg_name = thing->name;\

CFPackage * PKGCreatePackage (char * name);
CFPackage * PKGGetPackage (char * name);
void PKGInit (void);
#endif
